package com.china_goldcard.horizontallistview;

import android.util.TypedValue;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

/**
 * Created by jk on 16/10/23.
 */

public class DefaultHorizontalMenuViewHolder extends HorizontalMenuViewHolder {

    ImageView imageView;

    TextView textView;

    RelativeLayout relativeLayout;

    public DefaultHorizontalMenuViewHolder(View itemView,float titleSize) {
        super(itemView);
        imageView = (ImageView) itemView.findViewById(R.id.icon_view);
        textView = (TextView) itemView.findViewById(R.id.text_view);
        textView.setTextSize(TypedValue.COMPLEX_UNIT_PX,titleSize);
        relativeLayout = (RelativeLayout) itemView.findViewById(R.id.horizontal_menu_root_view);
    }
}
